package com.scau.hwadee.examination.mapper;

import com.scau.hwadee.examination.entity.Majorrenewapproval;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author YHX
 * @date 2019/7/29  9:02
 * @description
 */
public interface MajorrenewapprovalMapper {
    int deleteByPrimaryKey(@Param("scId") String scId, @Param("mjId") String mjId);

    int insert(Majorrenewapproval record);

    int insertList(@Param("list") List<Majorrenewapproval> majorrenewapprovals);

    int insertSelective(Majorrenewapproval record);

    Majorrenewapproval selectByPrimaryKey(@Param("scId") String scId, @Param("mjId") String mjId);

    int updateByPrimaryKeySelective(Majorrenewapproval record);

    int updateByPrimaryKey(Majorrenewapproval record);

    List<Majorrenewapproval> selectAllApprovedMajorrenewapproval(@Param("pageNum") int pageNum,
                                                                 @Param("pageSize") int pageSize,
                                                                 @Param("schoolId") String schoolId);

}